package com.itmk.web.sys_user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *  管理员表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user")
public class SysUser implements Serializable {
  //  private static final long serialVersionUID = -84056335912219934L;
  //  @TableId(type = IdType.AUTO)  //
  @TableId(value = "user_id",type = IdType.ASSIGN_ID)
    private Long userId;
    private String username;
    private String password;
    private String nickName;
    private String phone;
    private String sex;
    private String status;
    private String isAdmin;
}

